

#ifndef _SHELL_RESUPTITLE_MESSAGE_H_
#define _SHELL_RESUPTITLE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "TitleBean.h"
using namespace std;

class ResUpTitleMessage : public Message
{
	public:
	ResUpTitleMessage();
	~ResUpTitleMessage();
	void reset();
	ResUpTitleMessage* clone();
	static const int _ID;
	//1:添加，2:删除
	int8 type;
	//称号信息
	TitleBean* titleBean;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
